﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Input;

namespace GameSPK.Start
{
    class frmModau: frmGenerel
    {
        private static frmModau instance;
        private static object syncLock = new object();
        public static frmModau getInstance()
        {
            if (instance == null)
            {
                lock (syncLock)
                {
                    if (instance == null)
                    {
                        instance = new frmModau();
                    }
                }
            }

            return instance;
        }
        private frmModau()
            : base()
        {
            this.Closed += new EventHandler(frmModau_Closed);
            AddHandler(Keyboard.KeyDownEvent, (KeyEventHandler)frmModau_KeyDown);
            //GeneraLayout();
        }
        void frmModau_KeyDown(object sender, System.Windows.Input.KeyEventArgs e)
        {
        }
        void frmModau_Closed(object sender, EventArgs e)
        {
            instance = null;
        }
    }
}
